home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xmmix-1.1 / Makefile.std < prev    next >
Encoding:
Makefile  |  1995-07-05  |  1.7 KB  |  73 lines

  1. #
  2. #   @(#)Makefile.std    2.2 95/05/11
  3. #
  4. #   Makefile for xmmix - Motif(tm) Audio Mixer
  5. #
  6. #   NOTE: You should use this only if you don't have imake!
  7. #
  8. #   Copyright (C) 1995  Ti Kan
  9. #   E-mail: ti@amb.org
  10. #
  11. #   This program is free software; you can redistribute it and/or modify
  12. #   it under the terms of the GNU General Public License as published by
  13. #   the Free Software Foundation; either version 2 of the License, or
  14. #   (at your option) any later version.
  15. #
  16. #   This program is distributed in the hope that it will be useful,
  17. #   but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. #   GNU General Public License for more details.
  20. #
  21. #   You should have received a copy of the GNU General Public License
  22. #   along with this program; if not, write to the Free Software
  23. #   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  24. #
  25.  
  26. #
  27. # Modify these as you see fit.  You will most certainly need to
  28. # make some changes here in order to successfully build xmmix
  29. # on your platform.
  30. #
  31. SHELL=        /bin/sh
  32. RM=        /bin/rm
  33. MAKE=        make
  34. CC=        cc
  35. CFLAGS=        -O $(INCDIRS)
  36. INCDIRS=    -I/usr/X/include
  37. XLIBS=        -L/usr/X/lib -lXm -lXt -lX11 -lnsl -lsocket -lgen
  38. BINDIR=        /usr/bin/X11
  39. LIBDIR=        /usr/lib/X11
  40. MANDIR=        /usr/man/man1
  41. MANSUF=        .1
  42. INSTALL=    /bin/cp
  43.  
  44. #
  45. # No changes should be necessary below this point
  46. #
  47. PROG=    xmmix
  48.  
  49. SRCS=    main.c \
  50.     mixer.c \
  51.     widget.c
  52.  
  53. OBJS=    main.o \
  54.     mixer.o \
  55.     widget.o
  56.  
  57. all: $(PROG)
  58.  
  59. $(PROG): $(OBJS)
  60.     $(CC) -o $@ $(OBJS) $(XLIBS)
  61.  
  62. install: $(PROG)
  63.     $(INSTALL) $(PROG) $(BINDIR)
  64.     $(INSTALL) XMmix.ad $(LIBDIR)/app-defaults/XMmix
  65.     $(INSTALL) xmmix.hlp $(LIBDIR)
  66.  
  67. install.man:
  68.     $(INSTALL) $(PROG).man $(MANDIR)/$(PROG)$(MANSUF)
  69.  
  70. clean:
  71.     $(RM) $(OBJS) $(PROG)
  72.  
  73.